package com.huchao.www.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.huchao.www.utils.GenderConverter;
import lombok.*;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Description:
 * @BelongsProject: background-management-v10
 * @BelongsPackage: com.huchao.www.pojo
 * @Author: 亖思
 * @CreateTime: 2023/3/12 10:30
 * @Version: 1.0
 */
@Getter
@Setter
@Builder
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
public class StudentData {
    @ExcelProperty("学号")
    private Integer stuNo;
    @ExcelProperty("姓名")
    private String stuName;
    @ExcelProperty("身份证")
    private String stuIdCard;
    @ExcelProperty(value = "状态" ,converter = GenderConverter.class)
    private Integer stuState;
    @ExcelProperty("学院")
    private String college;
    @ExcelProperty("专业")
    private String major;
    @ExcelProperty("班级")
    private String classNum;
    @ExcelProperty("报道时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss”, timezone = “GMT+8")
    private String stuRepoTime;
}
